package com.yunti.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.yunti.business.domain.Ochestrate;
import com.yunti.business.vo.req.OrchestrateReq;
import com.yunti.business.vo.res.OrchestrateRes;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface IOchestrateService extends IService<Ochestrate> {
    TableDataInfo list(OrchestrateReq baseSubject, Integer pageNum, Integer pageSize);

    AjaxResult update(OrchestrateRes orchestrate);

    AjaxResult lottery(OrchestrateRes orchestrateReq) ;

    void outputExcel(HttpServletResponse response) throws IOException;

    void outputJianlu(HttpServletResponse response, Long subId, Long groupId) throws IOException;

    void outputLotteryWord(HttpServletResponse response, Long subId, Long groupId) throws IOException;
}
